// 通用性样式
@import './colors.less';
.fdr {
  display: flex;
  flex-direction: row;
}
.fdc {
  display: flex;
  flex-direction: column;
}
.jcc {
  justify-content: center;
}
.jcsb {
  justify-content: space-between;
}
.jcsa {
  justify-content: space-around;
}
.jcfe {
  justify-content: flex-end;
}
.aic {
  align-items: center;
}
.fg1 {
  flex-grow: 1;
}
.fs0 {
  flex-shrink: 0;
}
.margin0 {
  margin: 0;
}
.mr5 {
  margin-right: 5px;
}
.mt5 {
  margin-top: 5px;
}
.mb5 {
  margin-bottom: 5px;
}
.m10 {
  margin: 10px;
}
.ml10 {
  margin-left: 10px;
}
.mt0 {
  margin-top: 0;
}
.mt10 {
  margin-top: 10px;
}
.mt20 {
  margin-top: 20px;
}
.mb10 {
  margin-bottom: 10px;
}
.mb20 {
  margin-bottom: 20px;
}
.mr10 {
  margin-right: 10px;
}
.full-box {
  width: 100%;
  height: 100%;
}
.full-width {
  width: 100%;
}
.full-height {
  height: 100%;
}
.bsbb {
  box-sizing: border-box;
}
.mw100 {
  min-width: 100px;
}
.mw50 {
  min-width: 50px;
}
.p10 {
  padding: 10px;
}
.p5 {
  padding: 5px;
}
.p2 {
  padding: 2px;
}
.pt10 {
  padding-top: 10px;
}
.pt20 {
  padding-top: 20px;
}
.pd10 {
  padding-bottom: 10px;
}
.pd5 {
  padding-bottom: 5px;
}
.pt5 {
  padding-top: 5px;
}
.bold {
  font-weight: bold;
}
.font12 {
  font-size: 12px;
}
.font14 {
  font-size: 14px;
}
.font16 {
  font-size: 16px;
}
.font20 {
  font-size: 20px;
}
.font24 {
  font-size: 24px;
}
.tac {
  text-align: center;
}
.tar {
  text-align: right;
}
.red {
  color: @red;
}

.vertical-scroll-box {
  overflow-x: hidden;
  overflow-y: auto;
}
.colorWhite {
  color: #fff;
}
.border-field {
  padding: 2px 10px;
  border: 1px solid @gray-3;
  border-radius: 4px;
}
.opacity0 {
  opacity: 0;
}

// less函数
.icon-circle(@size: 20px, @bg: #1a1a1a, @color: #fff) {
  width: @size;
  height: @size;
  background-color: @bg;
  border-radius: 50%;
  color: @color;
}
.lineText(@line) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: @line;
  overflow: hidden;
}

// 布局
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-left {
  display: flex;
  justify-content: left;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
